<?php
include("config/connect.php");
include("public/common.php");
$trade_id = trim(CheckUrlParamNoDie("trade_id"));
$tb_id = trim(CheckUrlParamNoDie("alipay"));
$info = trim(CheckUrlParamNoDie("info"));

$sql = "insert into feedback(tb_id, item_url, price, info) values('$tb_id', '$trade_id', '', '$info')";
$result = mysql_query( $sql );
if( $result )
{
	$url = "Location:feedback_miss_discount.html?hr=1";
}
else
{
	$url = "Location:feedback_miss_discount.html?hr=0";
}

header($url);
?>